package com.engineering.elink.service;

import java.util.Map;

import com.engineering.elink.co.BaseCo;
import com.engineering.elink.co.BlogCo;
import com.engineering.elink.domain.Blog;

public interface BlogService {

	Map<String, Object> getList(BlogCo co,String userId);
	
	Map<String, Object> getBlogListByUserId(BaseCo co, String userId,String type);

	Map<String, Object> getInfo(String blogId,String userId,int type);
	
	Map<String, Object> getInfoByUserId(String blogId, String userId,int type);

	Map<String, Object> add(Blog blog,String dcIds);

	Map<String, Object> update(Blog blog,String dcIds,String oldDcids);

	Map<String, Object> del(String blogId);

	Map<String, Object> getGreetBlog(int count);

	Map<String, Object> getOtherBlog(BaseCo co, String userId, String blogId,String type);
	
	Map<String, Object> getOtherBlogByUserId(BaseCo co, String userId, String blogId,String type);

	Map<String, Object> getMark(String userId, String fkId,int type,int count );

	Map<String, Object> updateStationWorks(String blogIds, String userId);

	Map<String, Object> delStationWorks(String blogIds, String userId);
}
